package com.lmt.ymcc.service;


import com.lmt.ymcc.domain.CourseOrder;
import com.baomidou.mybatisplus.service.IService;
import com.lmt.ymcc.dto.AliPayMessageDto;
import com.lmt.ymcc.dto.CourseOrderParamDto;
import com.lmt.ymcc.dto.KillCourseOrderParamDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author AmazingXu
 * @since 2022-08-16
 */
public interface ICourseOrderService extends IService<CourseOrder> {

    String placeOrder(CourseOrderParamDto dto);

    void savaOrderAndItem(CourseOrder courseOrder);

    CourseOrder  selectByOrderNo(String orderNo);

    void updateOrderByPayNotify(AliPayMessageDto dto);

    void cancelOrderByPayTimeOut(String orderNo);

    String killPlaceOrder(KillCourseOrderParamDto dto);

}
